package com.ruoyi.LXHComplaint.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人投诉对象 doc_complaint
 * 
 * @author ruoyi
 * @date 2025-08-16
 */
public class DocComplaintLXH extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉表id */
    private Long complaintId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 投诉原因 */
    @Excel(name = "投诉原因")
    private String complaintReason;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String complaintInfo;

    /** 投诉状态 */
    @Excel(name = "投诉状态")
    private String complaintState;

    /** 投诉人姓名 */
    private String userName;

    /** 医生姓名 */
    private String doctorName;
    /**
     * 设置用户名
     * @param userName 用户名
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取用户名
     * @return 用户名
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置医生姓名
     * @param doctorName 医生姓名
     */
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    /**
     * 获取医生姓名
     * @return 医生姓名
     */
    public String getDoctorName() {
        return doctorName;
    }

    public void setComplaintId(Long complaintId) 
    {
        this.complaintId = complaintId;
    }

    public Long getComplaintId() 
    {
        return complaintId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }

    public void setComplaintReason(String complaintReason) 
    {
        this.complaintReason = complaintReason;
    }

    public String getComplaintReason() 
    {
        return complaintReason;
    }

    public void setComplaintInfo(String complaintInfo) 
    {
        this.complaintInfo = complaintInfo;
    }

    public String getComplaintInfo() 
    {
        return complaintInfo;
    }

    public void setComplaintState(String complaintState) 
    {
        this.complaintState = complaintState;
    }

    public String getComplaintState() 
    {
        return complaintState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintId", getComplaintId())
            .append("userId", getUserId())
            .append("doctorId", getDoctorId())
            .append("complaintReason", getComplaintReason())
            .append("complaintInfo", getComplaintInfo())
            .append("complaintState", getComplaintState())
            .toString();
    }
}
